#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# test python input and output

# content 1

name = input('your name: ')
gender = input('Are you a boy? (y/n)')

dic = {
        'name': name,
        'gender': 'Mr.' if gender in ('y', 'Y', 'yes') else 'Mrs'
        }

welcome_str = 'Welcome to the {gender} {name}'.format(**dic)

print(welcome_str)

